package com.bootdo.system.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bootdo.system.dao.RedBagConfigMapper;
import com.bootdo.system.domain.Address;
import com.bootdo.system.domain.RedBagConfig;
import com.bootdo.system.service.RedBagConfigService;
import com.github.pagehelper.PageHelper;



@Service("redBagConfigService")
public class RedBagConfigServiceImpl implements RedBagConfigService {
	@Autowired
	private RedBagConfigMapper mapper;

	@Override
	public RedBagConfig get(Long id) {
		return mapper.get(id);
	}

	@Override
	public RedBagConfig getConfig() {
		return mapper.getConfig();
	}

	@Override
	public List<RedBagConfig> list(Map<String, Object> map) {
		return mapper.list(map);
	}

	@Override
	public int save(RedBagConfig bComments) {
		return mapper.save(bComments);
	}

	@Override
	public int update(RedBagConfig bComments) {
		return mapper.update(bComments);
	}

	@Override
	public int remove(Long id) {
		return mapper.remove(id);
	}
	
}
